package com.usian.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@Controller
public class IndexController {


    /**
     * 进入列表页面
     * @return
     */
    @RequestMapping("/list")
    public String toList(){
        return "element-list";
    }

    /**
     * 进入登录页
     *
     * @return
     */
    @RequestMapping("/login")
    public String toLogin(){
        return "login";
    }

    /**
     * 进入保存车辆信息页面
     *
     * @return
     */
    @RequestMapping("/create")
    public String toCreate(){
        return "create";
    }

}
